//
//  ADPriceModel.m
//  iStore
//
//  Created by MacDev on 15/4/21.
//  Copyright (c) 2015年 mirrtalk. All rights reserved.
//

#import "ADPriceModel.h"

@implementation ADPriceModel
- (NSArray*)getName:(NSArray*)arrayModel
{
    NSMutableArray *array=[[NSMutableArray alloc]init];
    for (id obj in arrayModel) {
        [array addObject:obj[@"name"]];
    }
    return array;
}
- (NSArray*)getAddress:(NSArray*)arrayModel
{
    NSMutableArray *array=[[NSMutableArray alloc]init];
    for (id obj in arrayModel) {
        [array addObject:obj[@"address"]];
    }
    return array;
}
@end
